<?php
///////////////////////////////////////////////////////////////////////////

require_once 'lib/tv/default_channel.php';

///////////////////////////////////////////////////////////////////////////

class SiolChannel extends DefaultChannel
{
    private $number;
    private $past_epg_days;
    private $future_epg_days;
	private $isProtected;

    ///////////////////////////////////////////////////////////////////////

    public function __construct(
        $id, $title, $icon_url, $streaming_url, $number, $past_epg_days, $future_epg_days, $isProtected)
    {
        parent::__construct($id, $title, $icon_url, $streaming_url);

        $this->number = $number;
        $this->past_epg_days = $past_epg_days;
        $this->future_epg_days = $future_epg_days;
		$this->isProtected = $isProtected;
    }

    ///////////////////////////////////////////////////////////////////////

    public function get_number()
    { return $this->number; }

    public function get_past_epg_days()
    { return $this->past_epg_days; }

    public function get_future_epg_days()
    { return $this->future_epg_days; }

	public function get_buffering_ms()
    { return 300; }
	
	public function is_protected()
    { return $this->isProtected; }
	
	public function has_archive()
	{
		return false;
	}
}

///////////////////////////////////////////////////////////////////////////
?>
